package com.sinven.dao;

import com.sinven.entity.Topic;

import java.util.List;
/**
 * 李志伟
 */
public interface TopicDao {
    public Integer savaTopic(Topic topic ,String hql);
    public List<Topic> findById(int id ,String hql);
    public void addTop(Topic topic);
    public void updataTop(Topic topic);
    public void delectTop(int id);
}
